package com.bw.risk.controller;


import com.bw.risk.pojo.TbRiskLog;
import com.bw.risk.service.TbRiskLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 * 风控审核日志表 前端控制器
 * </p>
 *
 * @author lv
 * @since 2021-03-23
 */
@RestController
@RequestMapping("/tb-risk-log")
public class TbRiskLogController {

    @Autowired
    private TbRiskLogService logService;

    //风控列表
    @GetMapping("/list")
    public List<TbRiskLog> list(){
        return logService.list();
    }

}
